function sel(a){ 
  o=document.getElementsByName(a) 
  for(i=0;i<o.length;i++) 
  o[i].checked=event.srcElement.checked 
 }
  function showDialog(web)
{
showModalDialog(web,window,'dialogWidth:500px;dialogHeight:450px;center:yes;')
}

function showname(obj,web)
{
var tt;
	tt=showModalDialog(web,window,'dialogWidth:740px;dialogHeight:330px;center:yes;')
	if (tt!=undefined)
	{
document.getElementById(obj.id).value=tt;
	}
}
function showname2(obj,web)
{
var tt;
	tt=showModalDialog(web,window,'dialogWidth:630px;dialogHeight:330px;center:yes;')
	if (tt!=undefined)
	{
document.getElementById(obj.id).value=tt;
	}
}